/**
 * Copyright (c) 2000-2012 Liferay, Inc. All rights reserved.
 *
 * This library is free software; you can redistribute it and/or modify it under
 * the terms of the GNU Lesser General Public License as published by the Free
 * Software Foundation; either version 2.1 of the License, or (at your option)
 * any later version.
 *
 * This library is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
 * details.
 */

package com.mad.bikepony.model;

import com.liferay.portal.kernel.bean.AutoEscape;
import com.liferay.portal.model.BaseModel;
import com.liferay.portal.model.CacheModel;
import com.liferay.portal.service.ServiceContext;

import com.liferay.portlet.expando.model.ExpandoBridge;

import java.io.Serializable;

/**
 * The base model interface for the Agent service. Represents a row in the &quot;bp_agent&quot; database table, with each column mapped to a property of this class.
 *
 * <p>
 * This interface and its corresponding implementation {@link com.mad.bikepony.model.impl.AgentModelImpl} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link com.mad.bikepony.model.impl.AgentImpl}.
 * </p>
 *
 * @author nicola
 * @see Agent
 * @see com.mad.bikepony.model.impl.AgentImpl
 * @see com.mad.bikepony.model.impl.AgentModelImpl
 * @generated
 */
public interface AgentModel extends BaseModel<Agent> {
	/*
	 * NOTE FOR DEVELOPERS:
	 *
	 * Never modify or reference this interface directly. All methods that expect a agent model instance should use the {@link Agent} interface instead.
	 */

	/**
	 * Returns the primary key of this agent.
	 *
	 * @return the primary key of this agent
	 */
	public long getPrimaryKey();

	/**
	 * Sets the primary key of this agent.
	 *
	 * @param primaryKey the primary key of this agent
	 */
	public void setPrimaryKey(long primaryKey);

	/**
	 * Returns the agent ID of this agent.
	 *
	 * @return the agent ID of this agent
	 */
	public long getAgentId();

	/**
	 * Sets the agent ID of this agent.
	 *
	 * @param agentId the agent ID of this agent
	 */
	public void setAgentId(long agentId);

	/**
	 * Returns the password of this agent.
	 *
	 * @return the password of this agent
	 */
	@AutoEscape
	public String getPassword();

	/**
	 * Sets the password of this agent.
	 *
	 * @param password the password of this agent
	 */
	public void setPassword(String password);

	/**
	 * Returns the name of this agent.
	 *
	 * @return the name of this agent
	 */
	@AutoEscape
	public String getName();

	/**
	 * Sets the name of this agent.
	 *
	 * @param name the name of this agent
	 */
	public void setName(String name);

	/**
	 * Returns the surname of this agent.
	 *
	 * @return the surname of this agent
	 */
	@AutoEscape
	public String getSurname();

	/**
	 * Sets the surname of this agent.
	 *
	 * @param surname the surname of this agent
	 */
	public void setSurname(String surname);

	/**
	 * Returns the mobile phone of this agent.
	 *
	 * @return the mobile phone of this agent
	 */
	@AutoEscape
	public String getMobilePhone();

	/**
	 * Sets the mobile phone of this agent.
	 *
	 * @param mobilePhone the mobile phone of this agent
	 */
	public void setMobilePhone(String mobilePhone);

	/**
	 * Returns the status of this agent.
	 *
	 * @return the status of this agent
	 */
	public int getStatus();

	/**
	 * Sets the status of this agent.
	 *
	 * @param status the status of this agent
	 */
	public void setStatus(int status);

	/**
	 * Returns the last pos_latitude of this agent.
	 *
	 * @return the last pos_latitude of this agent
	 */
	public double getLastPos_latitude();

	/**
	 * Sets the last pos_latitude of this agent.
	 *
	 * @param lastPos_latitude the last pos_latitude of this agent
	 */
	public void setLastPos_latitude(double lastPos_latitude);

	/**
	 * Returns the last pos_longitude of this agent.
	 *
	 * @return the last pos_longitude of this agent
	 */
	public double getLastPos_longitude();

	/**
	 * Sets the last pos_longitude of this agent.
	 *
	 * @param lastPos_longitude the last pos_longitude of this agent
	 */
	public void setLastPos_longitude(double lastPos_longitude);

	/**
	 * Returns the last update of this agent.
	 *
	 * @return the last update of this agent
	 */
	public long getLastUpdate();

	/**
	 * Sets the last update of this agent.
	 *
	 * @param lastUpdate the last update of this agent
	 */
	public void setLastUpdate(long lastUpdate);

	public boolean isNew();

	public void setNew(boolean n);

	public boolean isCachedModel();

	public void setCachedModel(boolean cachedModel);

	public boolean isEscapedModel();

	public Serializable getPrimaryKeyObj();

	public void setPrimaryKeyObj(Serializable primaryKeyObj);

	public ExpandoBridge getExpandoBridge();

	public void setExpandoBridgeAttributes(ServiceContext serviceContext);

	public Object clone();

	public int compareTo(Agent agent);

	public int hashCode();

	public CacheModel<Agent> toCacheModel();

	public Agent toEscapedModel();

	public String toString();

	public String toXmlString();
}